package Application.UIEditApplication
{	
	import Application.UIEditApplication.cmd.StartUpCmd;
	
	import org.puremvc.as3.core.View;
	import org.puremvc.as3.patterns.facade.Facade;

	public class UIEditApplicationFacade extends Facade
	{
		public static const START_UP:String = "START_UP";

		public static function getInstance(): UIEditApplicationFacade {
            if (instance == null) {
                instance = new UIEditApplicationFacade();
            }
            return instance as UIEditApplicationFacade;
        }
		
		public function startup(app:Object):void
		{	
			sendNotification(START_UP, app);
		}
		
		override protected function initializeController():void {
			
            super.initializeController();
            registerCommand(START_UP, StartUpCmd);
        }
	}
}